﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Entity.DbEntity
{
    [CustomAttribute(TableName = "pi_PaiGong_main", Description = "计划派工主表")]
    public class DbPlanPaiGongMain
    {
        private int? _id;
        private string _pkey;
        private string _pronames;
        private string _gxcode;
        private string _machine;
        private string _sdate;
        private string _edate;
        private string _memo;
        private string _createtime;
        private string _createuser;
        private int? _isdel;
        private string _deldate;
        private string _deluser;
        private int? _isfinish;
        private int? _ornum;
        private string _number;
        private string _unit;
        private string _groupcode;
        /// <summary>
        /// 
        /// </summary>
        public int? id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 关联编码
        /// </summary>
        public string pKey
        {
            set { _pkey = value; }
            get { return _pkey; }
        }
        /// <summary>
        /// 关联存货
        /// </summary>
        public string proNames
        {
            set { _pronames = value; }
            get { return _pronames; }
        }
        /// <summary>
        /// 生产工序
        /// </summary>
        public string gxCode
        {
            set { _gxcode = value; }
            get { return _gxcode; }
        }
        /// <summary>
        /// 生产机台
        /// </summary>
        public string machine
        {
            set { _machine = value; }
            get { return _machine; }
        }
        /// <summary>
        /// 开始日期
        /// </summary>
        public string sDate
        {
            set { _sdate = value; }
            get { return _sdate; }
        }
        /// <summary>
        /// 结束日期
        /// </summary>
        public string eDate
        {
            set { _edate = value; }
            get { return _edate; }
        }
        /// <summary>
        /// 备注
        /// </summary>
        public string memo
        {
            set { _memo = value; }
            get { return _memo; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string createtime
        {
            set { _createtime = value; }
            get { return _createtime; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string createuser
        {
            set { _createuser = value; }
            get { return _createuser; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? isDel
        {
            set { _isdel = value; }
            get { return _isdel; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string delDate
        {
            set { _deldate = value; }
            get { return _deldate; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string delUser
        {
            set { _deluser = value; }
            get { return _deluser; }
        }
        /// <summary>
        /// 是否完工
        /// </summary>
        public int? isFinish
        {
            set { _isfinish = value; }
            get { return _isfinish; }
        }
        /// <summary>
        /// 排序
        /// </summary>
        public int? orNum
        {
            set { _ornum = value; }
            get { return _ornum; }
        }
        /// <summary>
        /// 派工数量
        /// </summary>
        public string number
        {
            set { _number = value; }
            get { return _number; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string unit
        {
            set { _unit = value; }
            get { return _unit; }
        }
        /// <summary>
        /// 生产班组
        /// </summary>
        public string groupCode
        {
            set { _groupcode = value; }
            get { return _groupcode; }
        }
        /// <summary>
        /// 关联计划
        /// </summary>
        public string plCodes { get; set; }
        public string isUrgent { get; set; }
        /// <summary>
        /// 批次标识码(是否是同一操作派工标识)
        /// </summary>
        public string tpCode { get; set; }
    }
}
